package com.ruoyi.user.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 主播管理对象 user_anchor
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class UserAnchor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主播id */
    private Long id;

    /** UserID */
    @Excel(name = "UserID")
    private String userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 头像 */
    @Excel(name = "头像")
    private String anchorImage;

    /** 手机号 */
    @Excel(name = "手机号")
    private String anchorPhone;

    /** 性别 */
    @Excel(name = "性别")
    private Integer anchorSex;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal anchorMoney;

    /** 开播次数 */
    @Excel(name = "开播次数")
    private Integer boNum;

    /** 在线状态 */
    @Excel(name = "在线状态")
    private Integer zxStatus;

    /** 主播认证 */
    @Excel(name = "主播认证")
    private Integer rzStatus;

    /** 认证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rzDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setAnchorImage(String anchorImage) 
    {
        this.anchorImage = anchorImage;
    }

    public String getAnchorImage() 
    {
        return anchorImage;
    }
    public void setAnchorPhone(String anchorPhone) 
    {
        this.anchorPhone = anchorPhone;
    }

    public String getAnchorPhone() 
    {
        return anchorPhone;
    }
    public void setAnchorSex(Integer anchorSex) 
    {
        this.anchorSex = anchorSex;
    }

    public Integer getAnchorSex() 
    {
        return anchorSex;
    }
    public void setAnchorMoney(BigDecimal anchorMoney) 
    {
        this.anchorMoney = anchorMoney;
    }

    public BigDecimal getAnchorMoney() 
    {
        return anchorMoney;
    }
    public void setBoNum(Integer boNum) 
    {
        this.boNum = boNum;
    }

    public Integer getBoNum() 
    {
        return boNum;
    }
    public void setZxStatus(Integer zxStatus) 
    {
        this.zxStatus = zxStatus;
    }

    public Integer getZxStatus() 
    {
        return zxStatus;
    }
    public void setRzStatus(Integer rzStatus) 
    {
        this.rzStatus = rzStatus;
    }

    public Integer getRzStatus() 
    {
        return rzStatus;
    }
    public void setRzDate(Date rzDate) 
    {
        this.rzDate = rzDate;
    }

    public Date getRzDate() 
    {
        return rzDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("anchorImage", getAnchorImage())
            .append("anchorPhone", getAnchorPhone())
            .append("anchorSex", getAnchorSex())
            .append("anchorMoney", getAnchorMoney())
            .append("boNum", getBoNum())
            .append("zxStatus", getZxStatus())
            .append("rzStatus", getRzStatus())
            .append("rzDate", getRzDate())
            .toString();
    }
}
